Optimal. Leaf size=129 \[ \frac {a j x}{h}-\frac {b j p q x}{h}+\frac {b j (e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f h}+\frac {(h i-g j) \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \log \left (\frac {f (g+h x)}{f g-e h}\right )}{h^2}+\frac {b (h i-g j) p q \text {Li}_2\left (-\frac {h (e+f x)}{f g-e h}\right )}{h^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 129, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 7, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.226, Rules used = {2465, 2436,
2332, 2441, 2440, 2438, 2495} \begin {gather*} \frac {b p q (h i-g j) \text {PolyLog}\left (2,-\frac {h (e+f x)}{f g-e h}\right )}{h^2}+\frac {(h i-g j) \log \left (\frac {f (g+h x)}{f g-e h}\right ) \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h^2}+\frac {a j x}{h}+\frac {b j (e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f h}-\frac {b j p q x}{h} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2332
Rule 2436
Rule 2438
Rule 2440
Rule 2441
Rule 2465
Rule 2495
Rubi steps
\begin {align*} \int \frac {(525+j x) \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{g+h x} \, dx &=\text {Subst}\left (\int \frac {(525+j x) \left (a+b \log \left (c d^q (e+f x)^{p q}\right )\right )}{g+h x} \, dx,c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\text {Subst}\left (\int \left (\frac {j \left (a+b \log \left (c d^q (e+f x)^{p q}\right )\right )}{h}+\frac {(525 h-g j) \left (a+b \log \left (c d^q (e+f x)^{p q}\right )\right )}{h (g+h x)}\right ) \, dx,c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\text {Subst}\left (\frac {j \int \left (a+b \log \left (c d^q (e+f x)^{p q}\right )\right ) \, dx}{h},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )+\text {Subst}\left (\frac {(525 h-g j) \int \frac {a+b \log \left (c d^q (e+f x)^{p q}\right )}{g+h x} \, dx}{h},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\frac {a j x}{h}+\frac {(525 h-g j) \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \log \left (\frac {f (g+h x)}{f g-e h}\right )}{h^2}+\text {Subst}\left (\frac {(b j) \int \log \left (c d^q (e+f x)^{p q}\right ) \, dx}{h},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )-\text {Subst}\left (\frac {(b f (525 h-g j) p q) \int \frac {\log \left (\frac {f (g+h x)}{f g-e h}\right )}{e+f x} \, dx}{h^2},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\frac {a j x}{h}+\frac {(525 h-g j) \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \log \left (\frac {f (g+h x)}{f g-e h}\right )}{h^2}+\text {Subst}\left (\frac {(b j) \text {Subst}\left (\int \log \left (c d^q x^{p q}\right ) \, dx,x,e+f x\right )}{f h},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )-\text {Subst}\left (\frac {(b (525 h-g j) p q) \text {Subst}\left (\int \frac {\log \left (1+\frac {h x}{f g-e h}\right )}{x} \, dx,x,e+f x\right )}{h^2},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\frac {a j x}{h}-\frac {b j p q x}{h}+\frac {b j (e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f h}+\frac {(525 h-g j) \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \log \left (\frac {f (g+h x)}{f g-e h}\right )}{h^2}+\frac {b (525 h-g j) p q \text {Li}_2\left (-\frac {h (e+f x)}{f g-e h}\right )}{h^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 120, normalized size = 0.93 \begin {gather*} \frac {a h j x-b h j p q x+\frac {b h j (e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f}+(h i-g j) \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \log \left (\frac {f (g+h x)}{f g-e h}\right )+b (h i-g j) p q \text {Li}_2\left (\frac {h (e+f x)}{-f g+e h}\right )}{h^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.19, size = 0, normalized size = 0.00 \[\int \frac {\left (j x +i \right ) \left (a +b \ln \left (c \left (d \left (f x +e \right )^{p}\right )^{q}\right )\right )}{h x +g}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \log {\left (c \left (d \left (e + f x\right )^{p}\right )^{q} \right )}\right ) \left (i + j x\right )}{g + h x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (i+j\,x\right )\,\left (a+b\,\ln \left (c\,{\left (d\,{\left (e+f\,x\right )}^p\right )}^q\right )\right )}{g+h\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________